const express = require('express');
//导入用户模块的路由器
const user = require('./routes/user.js');
//导入商品列表页路由器
const product = require('./routes/product.js');

var app = express();
app.listen(3000,()=>{
    console.log('web服务器构建成功');
});
app.use('/user',user);
app.use('/product',product);
